package com.qys.livesMall.system.model.dto.sys;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class PlatformInfoDto {

    @Schema(description = "ID")
    private Long id;

    @NotNull(message = "类型不能为空")
    @Schema(description = "类型（0：短期 1：长期）")
    private Byte type;

    @NotNull(message = "平台信息类型不能为空")
    @Schema(description = "平台信息类型（0：公告 1：推送）")
    private Byte typeInfo;

    @NotBlank(message = "标题不能为空")
    @Schema(description = "中文标题")
    private String chineseTitle;

    @NotBlank(message = "中文内容不能为空")
    @Schema(description = "中文内容")
    private String chineseContent;

    @NotBlank(message = "英文标题不能为空")
    @Schema(description = "英文标题")
    private String englishTitle;

    @NotBlank(message = "英文内容不能为空")
    @Schema(description = "英文内容")
    private String englishContent;

    @Schema(description = "跳转链接")
    private String url;

    @Schema(description = "推送目标 1：用户 、2：店铺、3：主播、4:全员用户 、5：等级、6：指定用户")
    private String target;

    @Schema(description = "推送目标，多个用英文逗号分隔")
    private String pushTarget;
}
